package cn.cljh.day8_22.task;

public class Hero {
    private int id;
    private String name;
    private int IQ;
    private int strong;
    private int lead;

    public Hero() {
    }

    public Hero(int id, String name, int IQ, int strong, int lead) {
        this.id = id;
        this.name = name;
        this.IQ = IQ;
        this.strong = strong;
        this.lead = lead;
    }

    @Override
    public String toString() {
        return id+"\t\t"+name+"\t\t"+IQ+"\t\t"+strong+"\t\t"+lead;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getIQ() {
        return IQ;
    }

    public void setIQ(int IQ) {
        this.IQ = IQ;
    }

    public int getStrong() {
        return strong;
    }

    public void setStrong(int strong) {
        strong = strong;
    }

    public int getLead() {
        return lead;
    }

    public void setLead(int lead) {
        this.lead = lead;
    }
}
